home *** CD-ROM | disk | FTP | other *** search
- /** Class SelectedDataOption
- Description : Implement the selected data option object
- */
- function NOF_SelectedDataOption(_id,_dataOption) {
- this.__proto__ = NOF_SelectedDataOption.prototype;
-
- this.id = _id;
- this.dataOption = _dataOption;
- }
- function NOF_SelectedDataOption_ProtoBuilder() {
- var member = NOF_SelectedDataOption.prototype;
- member.id = null;
- member.dataOption = null;
- member.isNew = true;
- var method = NOF_SelectedDataOption.prototype;
- method.getId = function getId () { return this.id; }
- method.setId = function setId (_id) { this.id = _id; }
-
- method.getDataOption = function getDataOption () { return this.dataOption; }
- method.setDataOption = function setDataOption (_dataOption) { this.dataOption = _dataOption;}
-
- method.equals = function equals (obj) {
- if (this.id == obj.id)
- return true;
- return false;
- }
- }
- NOF_SelectedDataOption_ProtoBuilder();
- NOF.__proto__.SelectedDataOption = NOF_SelectedDataOption;
-